home *** CD-ROM | disk | FTP | other *** search
- @echo off
- if exist %0\..\cdshell.exe goto ready
- if exist cdshell.exe EPIC
- if not exist %0\..\cdshell.exe echo Please run EPIC from the data directory
- if not exist %0\..\cdshell.exe goto exit
- :ready
- if not exist %0\maximize.qzf goto cdshell
- cd %0
- call EPIC.BAT
- cd ..
- goto exit
- :cdshell
- %0\..\cdshell PROPER EP %1 %2 %3
- if errorlevel 4 goto spawned
- if errorlevel 3 goto error
- if errorlevel 2 goto tasked
- if errorlevel 1 goto exit
- :spawned
- cd %0\..
- goto exit
- :tasked
- if not exist task.bat echo ERROR -- Unable to establish current task
- if not exist task.bat goto exit
- call task
- goto exit
- :error
- echo Fatal Error
- pause
- cd \
- :exit
-
-